package com.whu.zqm;

import com.whu.zqm.myioc.MiniApplicationContext;
import com.whu.zqm.service.bookService;
import com.whu.zqm.service.bookServiceimpl;

public class test {
    public static void main(String[] args) throws Exception {
        MiniApplicationContext ctx = new MiniApplicationContext("application.xml");
        bookService bookService = ctx.getBean("bookService", bookServiceimpl.class);
        bookService.sayHello();
    }

}
